
export function getType (object: any) {
  return Object.prototype.toString.call(object).slice(8, -1).toLowerCase()
}

export function isObject (obj: any) {
  return Object.prototype.toString.call(obj) === '[object Object]'
}

export function isArray (arr: any) {
  return Object.prototype.toString.call(arr) === '[object Array]'
}
